<?php get_instance()->view('common/header');?>
<body class="bag3">
<div class="weui-cells mt5">
    <a class="weui-cell weui-cell_access" href="javascript:;">
        <div class="weui-cell__bd">
            <p class="f08">售后单号：<span class="f10 cor6"><?php echo $info['code']?></span></p>
        </div>
        <p class="hongzi f08"><?php echo $info['status_name']?></p>
    </a>
    <a class="weui-cell weui-cell_access" href="<?php echo getUrl('order/orderDetail?order_id='.$info['order_id'])?>">
        <div class="weui-cell__bd">
            <p class="f08">所属订单：<span class="f10 cor6"><?php echo $info['order_code']?></span></p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <a class="weui-cell weui-cell_access" href="javascript:;">
        <div class="weui-cell__bd">
            <p class="f08">申请时间：<span class="f10 cor6"><?php echo $info['addtime']?></span></p>
        </div>
    </a>
</div>
<div class="p5_0 bag1 mt5 bor_bt">
    <div class="p3 vCenter heng">
        <div class="left">
            <div class="f09 pbmin">商户信息</div>
            <div class="f08 cor6">
                <img src="<?php echo $info['shop']['portrait']?>" alt="" class="heightimg mr5 fl mtmin"><span class="f09"><?php echo $info['shop']['shop_name']?></span>
            </div>
        </div>
<!--        <div class="right vCenter">-->
<!--            <a class="f20 mr5" href=""><img class="heightimg" src="img/png/pic73.png" alt=""></a>-->
<!--            <a class="f20" href=""><img class="heightimg" src="img/png/pic74.png" alt=""></a>-->
<!--        </div>-->
    </div>
</div>
<div class="itemmodel ddstacte mt5 bor_bt ddstactexq">
    <div class="title">
        <span class="f09 cor3">申请退款商品</span>
    </div>
    <div class="">
        <div class="weui-panel__bd">
            <?php foreach ($info['product'] as $v):?>
            <div class="">
                <a href="javascript:void(0);" class="weui-media-box_appmsg ">
                    <div class="weui-media-box__bd">
                        <h4 class="weui-media-box__title textEll f08"><?php echo $v['name']?></h4>
                        <p class="f07 cor9">规格：<?php echo $v['property']?></p>
                    </div>
                    <div class="">
                        <p class="f08"><?php echo $v['reality_amount']?><b class="f09 cor9 dk">x<?php echo $v['quantity']?></b></p>

                    </div>
                </a>
            </div>
            <?php endforeach;?>

        </div>
    </div>

</div>

<div class="weui-panel weui-panel_access">
    <div class="weui-panel__bd">
        <div class="weui-media-box weui-media-box_text">
            <h4 class="weui-media-box__title f09">退款原因</h4>
            <p class="weui-media-box__desc f08"><?php echo $info['service']['reason']?></p>
            <?php if(!empty($info['pic'])):?>
            <div class="threebox mt10 hengline imginfobox imgboxpull pb10">
                <?php foreach ($info['pic'] as $p):?>
                <img src="<?php echo $p;?>" alt="">
                <?php endforeach;?>
            </div>
            <?php endif;?>
        </div>
    </div>
</div>
<?php if($info['status'] == 2 || $info['status'] == 4):?>
<div class="weui-panel weui-panel_access">
    <div class="weui-panel__bd">
        <div class="weui-media-box weui-media-box_text">
            <h4 class="weui-media-box__title f09">处理结果<span class="f08 fr hongzi"><?php echo $info['status_name']?></span></h4>
            <p class="weui-media-box__desc f08"><?php echo $info['service']['complete_remark']?></p>
        </div>
    </div>
</div>
<?php endif;?>
<div class="hengright vCenter mt10 mr10">
    <div class="">
        <?php if($info['status'] == 4):?>
        <a href="<?php echo getUrl('order/saveService?order_id='.$info['order_id'])?>" class="weui-btn_mini widbtn nbtn">再次申请</a>
        <?php endif;?>
        <a href="tel:<?php echo $web_service_tel;?>" class="weui-btn_mini widbtn cbtn">联系平台</a>
        <a href="tel:<?php echo $info['shop']['store_tel'];?>" class="weui-btn_mini widbtn hbtn">联系商家</a>
    </div>
</div>
</body>

</html>